package com.sqkj.entity;

import java.io.Serializable;
import java.math.BigInteger;

public class Article implements Serializable {
    private int id;
    private String articleTitle;
    private User user;
    private int authorId;
    private int articleViewCount;
    private String articleCreateTime;
    private String articleContent;
    private int articleGoodCnt;
    private int articleCommentCount;
    private int articleStatus;
    private int type;
    private String tag;
    private String articleAbstract;
    private String headImgUrl;
    private String audioUrl;

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public int getArticleStatus() {
        return articleStatus;
    }

    public void setArticleStatus(int articleStatus) {
        this.articleStatus = articleStatus;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Article(String articleTitle, int authorId, int articleViewCount, String articleCreateTime, String articleContent, int articleGoodCnt, int articleCommentCount, int articleStatus, int type, String tag,String articleAbstract ,String headImgUrl,String audioUrl) {
        this.articleTitle = articleTitle;
        this.authorId = authorId;
        this.articleViewCount = articleViewCount;
        this.articleCreateTime = articleCreateTime;
        this.articleContent = articleContent;
        this.articleGoodCnt = articleGoodCnt;
        this.articleCommentCount = articleCommentCount;
        this.articleStatus = articleStatus;
        this.type = type;
        this.tag = tag;
        this.articleAbstract = articleAbstract;
        this.headImgUrl = headImgUrl;
        this.audioUrl = audioUrl;
    }

    public String getArticleAbstract() {
        return articleAbstract;
    }

    public void setArticleAbstract(String articleAbstract) {
        this.articleAbstract = articleAbstract;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getArticleViewCount() {
        return articleViewCount;
    }

    public void setArticleViewCount(int articleViewCount) {
        this.articleViewCount = articleViewCount;
    }


    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public int getArticleGoodCnt() {
        return articleGoodCnt;
    }

    public void setArticleGoodCnt(int articleGoodCnt) {
        this.articleGoodCnt = articleGoodCnt;
    }

    public int getArticleCommentCount() {
        return articleCommentCount;
    }

    public void setArticleCommentCount(int articleCommentCount) {
        this.articleCommentCount = articleCommentCount;
    }

    public String getArticleCreateTime() {
        return articleCreateTime;
    }

    public void setArticleCreateTime(String articleCreateTime) {
        this.articleCreateTime = articleCreateTime;
    }

    public Article(int id, String articleTitle, User user, int articleViewCount, String articleCreateTime, String articleContent, int articleGoodCnt, int articleCommentCount) {

        this.id = id;
        this.articleTitle = articleTitle;
        this.user = user;
        this.articleViewCount = articleViewCount;
        this.articleCreateTime = articleCreateTime;
        this.articleContent = articleContent;
        this.articleGoodCnt = articleGoodCnt;
        this.articleCommentCount = articleCommentCount;
    }

    public Article() {
    }
}
